package com.dycx.food.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dycx.food.dto.GoodsDTO;
import com.dycx.food.dto.GoodsQueryDTO;
import com.dycx.food.entity.GoodsMainDO;
import com.dycx.food.vo.GoodsVO;

import java.util.List;

public interface GoodsMainFoodService extends IService<GoodsMainDO> {
    /**
     * 分页
     */
    Page<GoodsVO> getPage(GoodsQueryDTO goodsDto);

    List<GoodsVO> getMainGoodsListByDesign(GoodsDTO goodsDTO);

    boolean updateSort(GoodsDTO goodsDTO);

    int getMaxSort();
}
